import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 导入全局样式
import '@/styles/index.scss'

//导入vant组件库
import vant from 'vant'
//导入vant样式
import 'vant/lib/index.css'

//导入vant移动端适配
import '@vant/touch-emulator'
//导入自己的插件
import  Plugin  from '@/utils/Plugin'

const app = createApp(App)
app.use(createPinia())
app.use(router)
//挂载vant
app.use(vant)
//挂载自己的插件
app.use(Plugin)


app.mount('#app')
